package com.yc.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import java.math.BigDecimal;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author cxw
 * @since 2025-02-13
 */
@Getter
@Setter
  public class Promotiondetail implements Serializable {

    private static final long serialVersionUID = 1L;

      @TableId(value = "pdid", type = IdType.AUTO)
      private Integer pdid;

    private Integer pid;

    private Integer gid;

      /**
     * 促销价
     */
      private BigDecimal price;

    private Integer nums;
    @TableField(exist = false)
    private Mgoods mgoods;
}
